package cn.iocoder.lw.module.core.controller.admin.workorder.vo.workorder;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import jakarta.validation.constraints.NotNull;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 工单完成 Request VO")
@Data
public class CoreWorkOrderCompleteReqVO {

    @Schema(description = "工单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "工单编号不能为空")
    private Long id;

    @Schema(description = "维修后图片URL", example = "https://example.com/image3.jpg,https://example.com/image4.jpg")
    private String afterRepairImages;

    @Schema(description = "解决方案", requiredMode = Schema.RequiredMode.REQUIRED, example = "更换制冷剂")
    @NotNull(message = "解决方案不能为空")
    private String solution;

    @Schema(description = "故障描述", example = "空调压缩机故障")
    private String faultDescription;

    @Schema(description = "总费用", example = "300.00")
    private BigDecimal totalCost;

}